<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text"/>
    <xsl:strip-space elements="*"/>
    <xsl:template match="questions">
        <xsl:for-each select="question">
            <xsl:value-of select="concat(@theme,'-',@complexity,';')" />
            <xsl:text>&#xa;</xsl:text>
            <xsl:value-of select="concat(@question,';',@rightAnswer,';',@answers)"/>
            <xsl:text>&#xa;</xsl:text>
        </xsl:for-each>
    </xsl:template>
</xsl:stylesheet>